package com.yike.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yike.user.entity.ShopPayChannel;
import com.yike.user.param.ShopPayChannelPageParam;

import com.yike.user.vo.ShopPayChannelVo;
import org.apache.ibatis.annotations.Mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * 店铺支付渠道 Mapper 接口
 *
 * @author Sakura
 * @since 2024-11-15
 */
@Mapper
public interface ShopPayChannelMapper extends BaseMapper<ShopPayChannel> {

    ShopPayChannelVo getShopPayChannelVo(@Param("id") Long id);

    IPage<ShopPayChannelVo> getShopPayChannelList(@Param("page") Page page,
                                                  @Param("param") ShopPayChannelPageParam param);


}
